; StyleScript.cfg
; Please use this format when creating your own style scripts.

; Emulating:	Panda Chat v1.10 (by Trust[e1])
; Author:	Trust[e1]
; Email:	truste1@gmail.com
; Website:	http://www.clan-e1.net

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)
; %10 - Described channel flags


; Timestamp.  /time/ is an internal identifier to insert stamp
timestamp [/time/]  
timestamp color /WHITE/
timestamp format HH:MM:SS AMPM

; Shortcut to internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; Panda Chat color map
copy /WHITE/ &hFFFFFF
copy /GREY/ &H808080
copy /YELLOW/ &h00FFFF
copy /RED/ &h0000FF
copy /GREEN/ &h00FF00
copy /BLUE/ &hFFFF00
copy /RUST/ &H40C0
copy /CYAN/ &HFFFF00

nameco name /WHITE/	; Non-self no-flagged name (used in user list)
nameco self /GREEN/	; Self name (also used in user list)
nameco 1 /BLUE/		; Blizzard Employee
nameco 2 /YELLOW/	; Channel Operator
nameco 4 /BLUE/		; Speaker
nameco 8 /BLUE/		; Battle.net System Administrator
nameco &h20 /RED/	; Squelched

; Chat events (0 is self-talk)
;« »

event 0 /red/«/cyan/%2/red/»/white/ %3
event 1 /red/%2 /grey/is in the channel using/white/ %5 /grey/with a ping of /white/%8 /grey/and flags of /white/%6/grey/.
event 2 /white/%2 /green/has joined the channel using /white/%5/green/ with a ping of /white/%8 /green/and flags of /white/%6/green/.
event 3 /white/%2 /green/left the channel.
event 4 /grey/«/white/From: /grey/%2» %3
event 5 /red/«/yellow/%2/red/» /white/%3
event 6 /blue/Server broadcast from %2: %3
event 7 /green/Joined %10 channel: /white/%3
event 10 /grey/«/cyan/To: /grey/%2» %3
event &h12 /yellow/%3
event &h13 /red/%3
event &h17 /red/* /yellow/%2 %3 /red/*
